package com.example.provider.db.mongodb.model

import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document

@Document("users")
data class User(
    @Id
    var id: String? = null,
    var name: String?,
    var email: String?,
) {
    override fun toString(): String {
        return "User(id=$id, name=$name, email=$email)"
    }
}